/**
 * 定义有效性统计模块
 */
(function(window, angular, undefined){

	var module = angular.module('water.entity.dataValidation',['waterCommon']);
	
	module.service('$dataValidationService',function($q,$waterDataCommon){
		/**
		 * 导出烟气排放量月报表
		 */
		this.exportTransEffReport = function(queryObj){
			var queryString = $waterDataCommon.jsonTostring(queryObj);
			window.open(getBasePath()+"/DataValidationTrans/exportTransEffReport.do?"+queryString);
		}
		
		/**
		 * 导出传输有效率月报表
		 */
		this.exportTransValiAreaReport = function(queryObj){
			var queryString = $waterDataCommon.jsonTostring(queryObj);
			window.open(getBasePath()+"/DataValidationTransWAG/exportTransValiAreaReport.do?"+queryString);
		}
		this.exportTransValliOverSiteReport = function(queryObj){
			var queryString = $waterDataCommon.jsonTostring(queryObj);
			window.open(getBasePath()+"/DataValidationTransWAG/exportTransValliOverSiteReport.do?"+queryString);
		}
		this.exportTransValiOverNumReport = function(queryObj){
			var queryString = $waterDataCommon.jsonTostring(queryObj);
			window.open(getBasePath()+"/DataValidationTransWAG/exportTransValiOverNumReport.do?"+queryString);
		}
	})
}(window, angular));